package cn.lyp.feignclient;

import cn.lyp.domain.User;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserFeignFallBack implements IUserFeignClient{

    @Override
    public User get(Long id) {
        return new User(id,"网络繁忙");
    }
}
